package com.luoye.lj.platform.controller.data.user;



import com.luoye.lj.platform.model.domain.muser.MUserDetail;

import java.io.Serializable;
import java.util.List;

/**
 * Created by dave_suwei on 2018/2/8.
 */
@Deprecated
public class MUserDetailData extends MUserDetail implements Serializable {
    private long id=-1;
    private String username;
    private String passwd;
    private String realName;//真实姓名
    private List<AuthInfoData> authInfoList;
//    private List<RUnitInfoData> unitInfoList;
    private List<RoleInfoData> roleInfoList;
    private String defaultUrl;
    private String email;
    private String mobilePhone;
    private int status=-1;//状态，0正常，1锁定
    private String lastLoginTime;//最近一次登录时间

    @Override
    public long getId() {
        return id;
    }

    @Override
    public void setId(long id) {
        this.id = id;
    }

    @Override
    public String getUsername() {
        return username;
    }

    @Override
    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String getPasswd() {
        return passwd;
    }

    @Override
    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    @Override
    public String getRealName() {
        return realName;
    }

    @Override
    public void setRealName(String realName) {
        this.realName = realName;
    }

    @Override
    public List getAuthInfoList() {
        return authInfoList;
    }

    @Override
    public void setAuthInfoList(List authInfoList) {
        this.authInfoList = authInfoList;
    }

//    @Override
//    public List getUnitInfoList() {
//        return unitInfoList;
//    }
//
//    @Override
//    public void setUnitInfoList(List unitInfoList) {
//        this.unitInfoList = unitInfoList;
//    }

    @Override
    public List getRoleInfoList() {
        return roleInfoList;
    }

    @Override
    public void setRoleInfoList(List roleInfoList) {
        this.roleInfoList = roleInfoList;
    }

    @Override
    public String getDefaultUrl() {
        return defaultUrl;
    }

    @Override
    public void setDefaultUrl(String defaultUrl) {
        this.defaultUrl = defaultUrl;
    }

    @Override
    public String getEmail() {
        return email;
    }

    @Override
    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String getMobilePhone() {
        return mobilePhone;
    }

    @Override
    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    @Override
    public int getStatus() {
        return status;
    }

    @Override
    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String getLastLoginTime() {
        return lastLoginTime;
    }

    @Override
    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    @Override
    public String toString() {
        return "MUserDetailData{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", passwd='" + passwd + '\'' +
                ", realName='" + realName + '\'' +
                ", authInfoList=" + authInfoList +
//                ", unitInfoList=" + unitInfoList +
                ", roleInfoList=" + roleInfoList +
                ", defaultUrl='" + defaultUrl + '\'' +
                ", email='" + email + '\'' +
                ", mobilePhone='" + mobilePhone + '\'' +
                ", status=" + status +
                ", lastLoginTime='" + lastLoginTime + '\'' +
                '}';
    }
}
